<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://webservices/" xmlns:ns1="http://www.billfriedrich.com/MediaConsumerListing" xmlns:ns2="http://www.billfriedrich.com/FormatListing" targetNamespace="http://webservices/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://72.29.238.200:8081/ContentManagement-war/MediaConsumerService?xsd=1" namespace="http://www.billfriedrich.com/MediaConsumerListing" />
  <xs:import schemaLocation="http://72.29.238.200:8081/ContentManagement-war/MediaConsumerService?xsd=2" namespace="http://www.billfriedrich.com/FormatListing" />
  <xs:element name="getMediaPools" type="tns:getMediaPools" />
  <xs:element name="getMediaPoolsResponse" type="tns:getMediaPoolsResponse" />
  <xs:element name="getVideoFormats" type="tns:getVideoFormats" />
  <xs:element name="getVideoFormatsResponse" type="tns:getVideoFormatsResponse" />
  <xs:element name="getVideoTags" type="tns:getVideoTags" />
  <xs:element name="getVideoTagsResponse" type="tns:getVideoTagsResponse" />
  <xs:element name="listMediaInPool" type="tns:listMediaInPool" />
  <xs:element name="listMediaInPoolResponse" type="tns:listMediaInPoolResponse" />
  <xs:element name="requestMedia" type="tns:requestMedia" />
  <xs:element name="requestMediaResponse" type="tns:requestMediaResponse" />
  <xs:element name="searchByLetter" type="tns:searchByLetter" />
  <xs:element name="searchByLetterResponse" type="tns:searchByLetterResponse" />
  <xs:element name="searchByTag" type="tns:searchByTag" />
  <xs:element name="searchByTagResponse" type="tns:searchByTagResponse" />
  <xs:element name="searchByTitle" type="tns:searchByTitle" />
  <xs:element name="searchByTitleAndTag" type="tns:searchByTitleAndTag" />
  <xs:element name="searchByTitleAndTagResponse" type="tns:searchByTitleAndTagResponse" />
  <xs:element name="searchByTitleResponse" type="tns:searchByTitleResponse" />
  <xs:element name="searchPool" type="tns:searchPool" />
  <xs:element name="searchPoolResponse" type="tns:searchPoolResponse" />
  <xs:complexType name="listMediaInPool">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="mediapool" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="listMediaInPoolResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" type="tns:mediaConsumerListing" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="mediaConsumerListing">
    <xs:sequence>
      <xs:element name="id" type="xs:int" />
      <xs:element minOccurs="0" name="title" type="xs:string" />
      <xs:element name="length" type="xs:float" />
      <xs:element minOccurs="0" name="pool" type="xs:string" />
      <xs:element minOccurs="0" name="date" type="xs:string" />
      <xs:element name="aspect_ratio" type="xs:int" />
      <xs:element minOccurs="0" name="description" type="xs:string" />
      <xs:element minOccurs="0" name="thumbnailUrl" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="unbounded" name="tags" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="getVideoTags">
    <xs:sequence />
  </xs:complexType>
  <xs:complexType name="getVideoTagsResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="requestMedia">
    <xs:sequence>
      <xs:element name="content_id" type="xs:int" />
      <xs:element name="format_id" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="requestMediaResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="return" type="tns:requestMediaStruct" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="requestMediaStruct">
    <xs:sequence>
      <xs:element name="available" type="xs:boolean" />
      <xs:element minOccurs="0" name="url" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchByTag">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="mediapool" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="unbounded" name="tag" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchByTagResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" type="tns:mediaConsumerListing" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="getMediaPools">
    <xs:sequence />
  </xs:complexType>
  <xs:complexType name="getMediaPoolsResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchByLetter">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="mediapool" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="letter" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchByLetterResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" type="tns:mediaConsumerListing" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="getVideoFormats">
    <xs:sequence />
  </xs:complexType>
  <xs:complexType name="getVideoFormatsResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" nillable="true" type="tns:formatListing" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="formatListing">
    <xs:sequence>
      <xs:element name="id" type="xs:int" />
      <xs:element minOccurs="0" name="type" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchPool">
    <xs:sequence>
      <xs:element minOccurs="0" name="partialPoolName" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchPoolResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchByTitle">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="mediapool" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="title" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchByTitleResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" type="tns:mediaConsumerListing" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchByTitleAndTag">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="mediapool" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="unbounded" name="tag" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="title" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="searchByTitleAndTagResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" type="tns:mediaConsumerListing" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>